/*
 * freeciv.fx
 *
 * Created on 01.12.2009, 15:46:40
 */

package org.zhgames.zhciv;

import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.layout.*;
import javafx.scene.text.*;
import javafx.stage.StageStyle;
import org.zhgames.zhciv.client.gui.scenes.*;
import javafx.scene.input.KeyEvent;

/**
 * @author Vitaliy_Turilkin
 */
def version = "0.00.2 [start]";
var width = 800;
var height = 600;
var sceneMaster:SceneMaster = SceneMaster{};

//sceneMaster.showHelloScene();
sceneMaster.showGameScene();//testing game scene

Stage {
    title: "ZH FreeCiv, version {version}"
    width: bind width
    height: bind height
    scene: bind sceneMaster.current_scene
    visible:true
    //fullScreen:true
    //style:StageStyle.UNDECORATED
}
